﻿<UserControl 
    x:Class="MyFloridaHouse.SilverlightOpenDistricts.xFilePrint"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
    Visibility="{Binding isFilePrintActive, Converter={StaticResource ConvertBoolToVisibility}}"
    >

    <Border Margin="0"  CornerRadius="20" BorderBrush="#FF549D9D"  BorderThickness="2"  
            Background="{StaticResource MainPageBackgroundBrush}"
            >

        <StackPanel>
            <Grid Margin="15">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <StackPanel Grid.Column="0">
                    <sdk:Label Content="File Print" Style="{StaticResource lblTitleStyle}" Margin="2,0,0,0" HorizontalAlignment="Left"/>
                    <TextBlock  TextWrapping="Wrap" Text="Note: At this time you can only print plans that you have previously saved to your computer's hard drive." />
                </StackPanel>

            </Grid>
            <StackPanel  Orientation="Horizontal" HorizontalAlignment="Right" Margin="15">
                <Button x:Name="CancelButton" Content="Cancel" Command="{Binding CmdFilePrintCancel}" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0"  />
                <Button x:Name="OKButton" Content="OK" Command="{Binding CmdFilePrintOK}" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0"  />
            </StackPanel>
        </StackPanel>
    </Border>
</UserControl>
